package biz;

import entity.Topic;
import java.util.*;

public interface TopicBiz {
	pubilc Topic findTopic(int topicId);
	pubilc List<Topic> findListTopic(int page,int boardId);
	pubilc int addTopic (Topic topic);
	pubilc int deleteTopic (int topicId);
	public int updateTopic(Topic topicId);
	pubilc int updateTopic (Topic topic)throws Exception;
	pubilc int findCountTopic (int boardId);

}
